//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Maine ATV UTV Expo','Cross Insurance Center','Bangor, ME','Friday','5/17/2024','TBD','6154808','Maine-ATV-UTV-Expo-5-17-2024'],['Maine ATV UTV Expo','Cross Insurance Center','Bangor, ME','Saturday','5/18/2024','TBD','6154809','Maine-ATV-UTV-Expo-5-18-2024'],['Maine ATV UTV Expo','Cross Insurance Center','Bangor, ME','Sunday','5/19/2024','TBD','6154810','Maine-ATV-UTV-Expo-5-19-2024'],['Bluey's Big Play','Cross Insurance Center','Bangor, ME','Tuesday','5/21/2024','6:00 PM','6103412','Bluey-s-Big-Play-5-21-2024'],['Father's Day Pro Boxing Classic','Cross Insurance Arena','Portland, ME','Saturday','6/15/2024','6:30 PM','6410337','Father-s-Day-Pro-Boxing-Classic-6-15-2024'],['Tom Segura','Cross Insurance Center','Bangor, ME','Saturday','6/15/2024','8:00 PM','6079444','Tom-Segura-6-15-2024'],['Cirque du Soleil - Corteo','Cross Insurance Arena','Portland, ME','Thursday','6/20/2024','7:00 PM','6131100','Cirque-du-Soleil---Corteo-6-20-2024'],['Cirque du Soleil - Corteo','Cross Insurance Arena','Portland, ME','Friday','6/21/2024','7:00 PM','6131101','Cirque-du-Soleil---Corteo-6-21-2024'],['Cirque du Soleil - Corteo','Cross Insurance Arena','Portland, ME','Saturday','6/22/2024','3:00 PM','6131102','Cirque-du-Soleil---Corteo-6-22-2024'],['Cirque du Soleil - Corteo','Cross Insurance Arena','Portland, ME','Saturday','6/22/2024','7:00 PM','6131103','Cirque-du-Soleil---Corteo-6-22-2024'],['Cirque du Soleil - Corteo','Cross Insurance Arena','Portland, ME','Sunday','6/23/2024','1:00 PM','6131104','Cirque-du-Soleil---Corteo-6-23-2024'],['Lil Yachty & Sleepy Hallow','Cross Insurance Center','Bangor, ME','Saturday','9/7/2024','8:00 PM','6416651','Lil-Yachty---Sleepy-Hallow-9-7-2024'],['Hawthorne Heights','Cross Insurance Center','Bangor, ME','Tuesday','9/10/2024','5:00 PM','6384636','Hawthorne-Heights-9-10-2024'],['The Price Is Right - Live Stage Show','Cross Insurance Center','Bangor, ME','Tuesday','9/24/2024','7:30 PM','6340924','The-Price-Is-Right---Live-Stage-Show-9-24-2024'],['The Price Is Right - Live Stage Show','Cross Insurance Arena','Portland, ME','Wednesday','9/25/2024','7:30 PM','6340925','The-Price-Is-Right---Live-Stage-Show-9-25-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Cross Insurance Arena','Portland, ME','Friday','10/4/2024','7:30 PM','6307013','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-4-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Cross Insurance Arena','Portland, ME','Saturday','10/5/2024','12:30 PM','6307014','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-5-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Cross Insurance Arena','Portland, ME','Saturday','10/5/2024','7:30 PM','6307015','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-5-2024'],['Bangor Comic and Toy Convention','Cross Insurance Center','Bangor, ME','Sunday','10/6/2024','10:00 AM','6324368','Bangor-Comic-and-Toy-Convention-10-6-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Cross Insurance Arena','Portland, ME','Sunday','10/6/2024','2:30 PM','6307016','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-6-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Cross Insurance Center','Bangor, ME','Friday','10/18/2024','7:30 PM','6307020','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-18-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Cross Insurance Center','Bangor, ME','Saturday','10/19/2024','12:30 PM','6307021','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-19-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Cross Insurance Center','Bangor, ME','Saturday','10/19/2024','7:30 PM','6307022','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-19-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Cross Insurance Center','Bangor, ME','Sunday','10/20/2024','2:30 PM','6307023','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-20-2024'],['MercyMe & TobyMac','Cross Insurance Arena','Portland, ME','Saturday','11/9/2024','7:00 PM','6342575','MercyMe---TobyMac-11-9-2024'],['Creed, 3 Doors Down & Mammoth WVH','Cross Insurance Center','Bangor, ME','Saturday','11/30/2024','7:00 PM','6251931','Creed--3-Doors-Down---Mammoth-WVH-11-30-2024']],'Cross Insurance Center','http://www.ticketnetwork.com/ticket/Cross-Insurance-Center-events.aspx');